package org.copper.utils
{
	public final class ConditionQuery
	{
		private var m_result:Boolean = false;
		
		public function ConditionQuery()
		{
			super();
		}
		
		public function get result():Boolean
		{
			return m_result;
		}
		
		public function assert(condition:Boolean, ...errorMessage):ConditionQuery
		{
			ConditionUtil.assert(condition, errorMessage);
			return this;
		}
		
		
		public function containsAllKeys(dict:*, keys:Array):ConditionQuery
		{
			m_result = ConditionUtil.containsAllKeys(dict, keys);
			return this;
		}
		
		
		public function containsAtLeastOneKey(dict:*, keys:Array):ConditionQuery
		{
			m_result = ConditionUtil.containsAtLeastOneKey(dict, keys);
			return this;
		}
	}
}